/**
 * sysLoginLogModel
 *
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:登陆日志管理
 * 
 * 历史版本:2017-03-27 v1.0.0 lunli  创建:
 * 
 */
package com.fmjr.sys.sysLoginLog.bean;

import com.fmjr.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value="sysLoginLog", description="登陆日志")
public class SysLoginLog extends BaseEntity implements java.io.Serializable {

	private Long id ; //
	private Long userId ; //用户名
	private String loginSuccess ; //登陆是否成功
	private String loginIp ; //登陆ip
 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
	private Date createDate ; //登陆时间
	private Long userType ; //用户类型

	

	public Long getId() {
		return this.id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	@ApiModelProperty(value = "用户名")
	public Long getUserId() {
		return userId;
	}
	
	public void setUserId(Long userId) {
		this.userId = userId;
	}

	@ApiModelProperty(value = "登陆是否成功")
	public String getLoginSuccess() {
		return loginSuccess;
	}
	
	public void setLoginSuccess(String loginSuccess) {
		this.loginSuccess = loginSuccess;
	}

	@ApiModelProperty(value = "登陆ip")
	public String getLoginIp() {
		return loginIp;
	}
	
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	@ApiModelProperty(value = "登陆时间")
	public Date getCreateDate() {
		return createDate;
	}
	
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@ApiModelProperty(value = "用户类型")
	public Long getUserType() {
		return userType;
	}
	
	public void setUserType(Long userType) {
		this.userType = userType;
	}

	@Override
	public String toString() {
		return "SysLoginLog [id=" + id + ", userId=" + userId + ", loginSuccess=" + loginSuccess + ", loginIp="
				+ loginIp + ", createDate=" + createDate + ", userType=" + userType + "]";
	}
}